<font color="#FFFFFF">
<style type="text/css">
	@import url("../css./reports.css");
</style>
<?php
	require "../classes/ReportesConsultas.php";						

	$profile=get_object_vars(unserialize($_SESSION['userProfile']));
	$idHotel = $profile['data']['id_procedencia'];
	$reportes=new ReportesConsultas();
	$reservaciones = $reportes->getHistorialReser($idHotel);

	echo"
		<table class=\"report\" width='650' border='1' align='center'>
		  <tr>
			<th class='formLabel' scope='col'>Cliente</th>
			<th class='formLabel' scope='col'>Agencia</th>
			<th class='formLabel' scope='col'>Fecha Reservaci&oacute;n</th>
			<th class='formLabel' scope='col'>Solicitud Especial</th>
			<th class='formLabel' scope='col'>Costo</th>
			<th class='formLabel' scope='col'>Saldo</th>
		  </tr>";

	foreach($reservaciones as $res){
		echo "  
		  <tr>
			<td>{$res['Cliente']}&nbsp;</td>
			<td>{$res['Agencia']}&nbsp;</td>
			<td>{$res['Fecha']}&nbsp;</td>
			<td>{$res['SolEspecial']}&nbsp;</td>
			<td>\${$res['Costo']}&nbsp;</td>
			<td>\${$res['Saldo']}&nbsp;</td>
		  </tr>";
	}
	echo "
		</table>";
?>